function DirectionalLight(hex, intensity) {
  THREE.DirectionalLight.call(this, hex, intensity)
}

DirectionalLight.prototype = Object.create(THREE.DirectionalLight.prototype)
DirectionalLight.prototype.update = update

function update() {
  for (var i = 0; i < this.children.length; i++) {
    this.children[i].update()
  }
}
